package com.lzx.adx.report.bean.mapper;

import com.lzx.adx.report.dto.MeituanOrderDTO;
import com.lzx.adx.report.entity.MeituanOrderEntity;
import com.lzx.adx.report.model.meituan.OrderCallBackRequest;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

@Mapper(componentModel = "spring")
public interface MeiTuanMapper {



    @Mapping(source ="orderid",target ="orderId")
    MeituanOrderDTO toMeituanOrder(OrderCallBackRequest orderCallBackRequest);

    MeituanOrderEntity toReport(MeituanOrderDTO dto);
}
